﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProgNetComponents.Hosting;

namespace ProgNetComponents.Wcf.AppUpdate
{
    /// <summary>
    /// Application version infoormation
    /// </summary>
    public class AppVersionInfo : HostObject<Version>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="AppVersionInfo"/> class.
        /// </summary>
        public AppVersionInfo()
        {

        }
        /// <summary>
        /// Initializes a new instance of the <see cref="AppVersionInfo"/> class.
        /// </summary>
        /// <param name="version">The version.</param>
        public AppVersionInfo(Version version)
            : base(version)
        {

        }
        /// <summary>
        /// Gets or sets the changelog.
        /// </summary>
        /// <value>
        /// The changelog.
        /// </value>
        public string Changelog { get; set; }
        /// <summary>
        /// Gets or sets the file.
        /// </summary>
        /// <value>
        /// The file.
        /// </value>
        public string File { get; set; }
    }

    /// <summary>
    /// Collection of Application version informations
    /// </summary>
    public class AppVersionInfoCollection : HostObjectCollection<AppVersionInfo>
    {

    }
}
